<template>
  <div class="TextAreaStyle">
    <div class="title">文本域</div>
    <WangEditor v-model:value="datas.contentText" height="400px" />
  </div>
</template>

<script lang="ts" setup name="TextAreaStyle">
import { toRefs } from "vue";
import WangEditor from "@/components/WangEditor/index.vue";
const props = defineProps({
  datas: {
    type: Object
  }
});
const { datas } = toRefs(props);
</script>

<style scoped lang="scss">
.title {
  padding: 5px;
  margin-bottom: 15px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  border-left: 4px solid var(--el-color-primary);
}
</style>
